<%--
  Created by IntelliJ IDEA.
  User: d11yu
  Date: 2022/4/15
  Time: 10:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%
    String basePath = request.getScheme() +
            "://" + request.getServerName() +
            ":" + request.getServerPort() +
            request.getContextPath() + "/";
    %>
    <base href="<%=basePath%>">
</head>
<body>
    <form action="RegisterServlet" method="get" enctype="multipart/form-data">
        <table>
            <tr>
                <td>用户名：</td>
                <td><input type="text" name="username" value="${username}"></td>
            </tr>
            <tr>
                <td>验证码：</td>
                <td><input type="text" style="width: 60px;" name="code"><img src="KaptchaServlet" alt="" style="width: 100px; height: 28px;"></td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit"></td>
            </tr>
        </table>
    </form>
</body>
</html>
